<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>JSON对象(重要)</title>
</head>
<body>
    <script>
        // js 对象
        var obj = {
            name: '张三',
            age: 18
        }

        // json对象
        var jsonObj = {
            "name": '张三',
            "age": 18
        }

    </script>
</body>
</html>